var heightScreen = 0;
var widthScreen = 0;
if (self.screen)
{
	widthScreen = screen.width;
	heightScreen = screen.height;
}
else if (self.java)
{
	var jkit = java.awt.Toolkit.getDefaultToolkit();
	var scrsize = jkit.getScreenSize();
	widthScreen = scrsize.width;
	heightScreen = scrsize.height;
}
